package com.zbkj.common.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Auther:
 * @Date: 2024/11/30 13:38
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "UserAuthVerifyRequest对象", description = "客户端用户实名认证请求对象")
public class UserAuthVerifyRequest {

    @ApiModelProperty("操作类型 0 实名认证 1 跟换绑定实名认证")
    @NotNull(message = "操作类型参数不能为空")
    private Integer optType;

    @ApiModelProperty("新手机号-换绑时传入")
    private String newPhone;

    @ApiModelProperty("真实姓名")
    @NotBlank(message = "真实姓名不能为空")
    private String realName;

    @ApiModelProperty("身份证号")
    @NotBlank(message = "身份证号不能为空")
    private String idCard;

    @ApiModelProperty("新手机号验证码-换绑时传入")
    private String newSmsCode;
}
